#ifndef AUDIOCAPTUREINPUT_H
#define AUDIOCAPTUREINPUT_H
#include<string>
#include"AudioCaptureIterface.h"

class Receive_handler;
class AudioCaptureImpl;
class AudioCaptureInput :public AudioCaptureIterface
{
public:
    AudioCaptureInput();
    virtual~AudioCaptureInput();
public:
	bool start(Receive_handler*,unsigned int SamplesRate);
    void stop();
public:
    virtual void receive_data(const char *data, int len);//
private:
    std::string  m_InPut_buf;

    Receive_handler* m_handler;
    AudioCaptureImpl *m_oAudioCaptureImpl;
};

#endif // AUDIOCAPTUREINPUT_H
